<?if($xxx && {depth}==0) {?>
</table><br />
<?}?>
<?if({depth}==0) { $xxx=1;?>
<table width="100%" class="tabelka2">
<tr>
    <td class="row_3" align="center">id</td>
    <td class="row_3" align="center"><?echo($lang['file_name']);?>:</td>
    <td class="row_3" align="center"><?echo($lang['admin_news']);?></td>
	<td class="row_3" align="center"><?echo($lang['admin_pages']);?></td>
    <td class="row_3" align="center"><?echo($lang['admin_edit_rem']);?></td>
</tr>
<?}?>
<tr>
    <td class="row_{depth}" align="center">{id}</td>
    <td class="row_{depth}" width="60%" align="left"><img align="left" src="{theme_path}gfx/blank.gif" height="<?echo(10*{depth});?>" width="<?echo(15*{depth});?>" alt="" />{name}</td>
    <td class="row_{depth}" align="center">{news}</td>
    <td class="row_{depth}" align="center">{pages}</td>
    <td class="row_{depth}" align="center">
    <a href="index.php?module=admin&amp;action=categories&amp;cmd=add&amp;cat={id}"><?echo($lang['admin_add']);?></a>
    <br /><a href="index.php?module=admin&amp;action=categories&amp;cmd=edit&amp;id={id}"><?echo($lang['admin_edit']);?></a>
    <br /><a href="index.php?module=admin&amp;action=categories&amp;cmd=del&amp;id={id}"><?echo($lang['admin_delete']);?></a>
    </td>
</tr> 
